/**
 * 
 */
package com.ctn.information.data.retriever.Interface;

import java.util.List;

import com.ctn.information.data.model.NewsTitle;
import com.ctn.information.data.retriever.Retriever;


/**
 * get Information/title 
 * @author Zale
 *
 */
public interface NewsTitleRetriever extends Retriever<NewsTitle> {
	/**
	 * get information/title by menu id
	 * @param id
	 * @param pageIndex
	 * @param count
	 * @param asc
	 * @return
	 * @throws Exception 
	 */
	List<NewsTitle> getDataByMenuId(Long id,int pageIndex,int count,boolean asc) throws  Exception;
	/**
	 * get information/title by menu id
	 * @param queryStr
	 * @param pageIndex
	 * @param count
	 * @param asc
	 * @return
	 * @throws Exception 
	 */
	List<NewsTitle> getDataByQueryStr(String queryStr,int pageIndex,int count,boolean asc) throws  Exception;

}
